const mongoose = require("../db");
const Schema = mongoose.Schema;
const schema = new Schema({
    proid: { type: String },
    proname: { type: String },
    prokind: { type: String },
    brand: { type: String },
    logo: { type: String },
    proimg: { type: String },
    price: { type: Number },
    info: { type: String },
    stock: { type: Number },
    sales: { type: Number },
    discount: { type: Number },
    grade: { type: Number }
});
const collection = mongoose.model("Pro", schema);
module.exports = collection;
